package com.runfast.waimai.util;

import java.math.BigDecimal;

public class Constant {
	
	public static final int CUSER_TYPE = 0;//用户类型
	public static final int BUSINESS_TYPE = 1;//商家类型
	public static final int ALL_TYPE = 2;//全部类型

	/*用户SESSION*/
	public final static String WIN_CUSER_SESSION = "runfast_win_cuser";
	/*用户SESSION*/
	public final static String APP_CUSER_SESSION = "runfast_app_cuser";
	/*配送员*/
	public final static String APP_DRIVER_SESSION ="app_driver";
	/*用户SESSION*/
	public final static String CUSER = "cuser";
	/*用户SESSION*/
	public final static String VISIT_WX = "visit_wx";
	/*openid*/
	public final static String OPEN_SESSION_ID="openid";
	/*商家账号*/
	public final static String APP_BSINESSACCOUNTS_SESSION ="app_businessaccounts";
	/*商家*/
	public final static String APP_BUSINESS_SESSION ="app_business";
	
	
	public final static int ROOT = 5410;//省级
	public final static int ATUDIT = 5510;//审核权限
	public final static int TIMEREFUND = 5520;//延时订单退款权限
	public final static int RECHARGE = 6666;//充值权限
	public final static int COEFFICIENT = 6667;//提成设置权限
	public final static int READ = 6668;//审核后确认处理权限
	public final static int SENTOUT = 315006;//发货权限
	public final static int CHANGELOGO = 6669;////修改LOGO权限�޸�
	public final static int NUMBER_CHARGE_ATUDIT =306011;//号码充值审核
	public final static int NUMBER_CHARGE_REFUN =306021;//号码充值退款
	public final static int NUMBER_CHARGE_WARN =306014;//号码处理提醒
	/*客户端版本类型*/
	public final static int ANDROID_VERSION = 0;
	public final static int IOS_VERSION = 1;
	/*平台优惠*/
	public final static int FIRSTSINGLE = 10;//首单立减
	/*满30减5*/
	public final static int FAVOURABLE1 = 30;//
	public final static int FAVVALUE1 = 5;//
	/*满50减10*/
	public final static int FAVOURABLE2 = 30;//
	public final static int FAVVALUE2 = 5;//
	public final static BigDecimal MINMONETY = BigDecimal.valueOf(0);//最低提现金额
	/*用户购物车*/
	public final static String SHOPPINGTROLLEY="shoppingtrolley";
	/*用户地址*/
	public final static String CUSERADDRESS="cuseraddress";//添加时使用
	/*用户注册验证码*/
	public final static String APP_REGISTER_SESSION = "app_register_code";

	public final static String CUSERADDRESS_Business="cuseraddress_business";//添加时使用
}
